home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-07 / netusers.zip / SORT.C < prev    next >
Text File  |  1993-03-01  |  330b  |  22 lines

  1. #include <stdio.h>
  2.  
  3. #include "nos.h"
  4. #include "noslib.h"
  5. #include "netusers.h"
  6.  
  7. int comparestring (char *s1, char *s2)
  8.     {
  9.     return (strcmp (s1, s2));
  10.     }
  11.  
  12.  
  13. int compareDWORD (DWORD *d1, DWORD *d2)
  14.     {
  15.     if (*d1 < *d2)
  16.     return (-1);
  17.     else if (*d1 == *d2)
  18.     return (0);
  19.     else
  20.     return (1);
  21.     }
  22.